import request from '@/utils/request'

// 查询人员图片列表
export function listPhysicalpicture(query) {
  return request({
    url: '/physical/physicalpicture/list',
    method: 'get',
    params: query
  })
}

// 查询人员图片详细
export function getPhysicalpicture(id) {
  return request({
    url: '/physical/physicalpicture/' + id,
    method: 'get'
  })
}

// 新增人员图片
export function addPhysicalpicture(data) {
  return request({
    url: '/physical/physicalpicture',
    method: 'post',
    data: data
  })
}

// 修改人员图片
export function updatePhysicalpicture(data) {
  return request({
    url: '/physical/physicalpicture',
    method: 'put',
    data: data
  })
}

// 删除人员图片
export function delPhysicalpicture(id) {
  return request({
    url: '/physical/physicalpicture/' + id,
    method: 'delete'
  })
}
